export default {
  state: () => ({
    user: null,
    token: null,
  }),
  mutations: {
    setUser(state, user) {
      state.user = user
    },
    setToken(state, token) {
      state.token = token
    },
  }
}